<!DOCTYPE html>
<html lang="en">
    <head>
        <meta charset="UTF-8" />
        <meta name="viewport" content="width=device-width, initial-scale=1.0" />
        <title>Document</title>
    </head>
    <body>
        <h1>Web Worker Example</h1>

        <button id="startWorker">Start Worker</button>
        <button id="sendMessage">Send Message</button>
        <input
            type="text"
            id="inputValue"
            name="inputValue"
            required
            minlength="4"
            maxlength="8"
            size="10"
        />
        <button id="stopWorker">Stop Worker</button>
        <p id="result"></p>
        <script src="./main.js"></script>
    </body>
</html>
